package com.njtoyo.taxi.admin.rest.wrapper.business.area;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("地区更新isOpen模型")
@Data
public class AreaUpdateIsOpenWrapper {

    @NotNull(message = "areaIds不能为空")
    @ApiModelProperty("areaIds")
    private List<Long> ids;

    @ApiModelProperty("是否开通")
    private Boolean isOpened;

}
